﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using JJY.DBUtility;
using Migration.Utility;
using System.Data;
using System.Data.SqlClient;

namespace Migration.DBUtility
{
    public class MigrationDbHelper : SQLHelper
    {
        public static int ExcuteNonQuery(string sql, params SqlParameter[] parms)
        {
            using (SqlConnection conn = new SqlConnection(AppSettingManager.ConnectionString))
            {
                return SQLHelper.ExecuteNonQuery(conn, CommandType.Text, sql, parms);
            }
        }
    }
}
